package com.ttg.web.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.model.pojo.RulesList;
import com.ttg.model.pojo.VipRatingConfig;

import java.util.List;


/**
 * @author zhangHongYuan
 * @description
 * @date 2023/6/8 11:19
 */
public interface RulesListDao extends IService<RulesList> {

    List<RulesList>  allByStatus();

    /**
     * 获取启用状态的任务规则列表（id-名称）
     * @return
     */
    List<RulesList> getRulesIdAndName(Integer type);

    List<RulesList>  allByStatusAndType(Integer type);
}
